[PATCH] MDEV-38046 Make func_regexp_pcre tolerant to PCRE2 offset change
authorAquila Macedo <aquilamacedo@riseup.net>
Sat, 8 Nov 2025 00:09:05 +0000 (21:09 -0300)
committerOtto Kekäläinen <otto@debian.org>
Tue, 16 Dec 2025 04:00:00 +0000 (20:00 -0800)
commitc2d6748aa61eacc3a5b5f6cb322fd35fcb9cbbe4
tree157c7b1232e2b4b8fec61efc92a40a531b674c34
parent33aa012f262e33526d44f1c5832550098158bcbe
[PATCH] MDEV-38046 Make func_regexp_pcre tolerant to PCRE2 offset change

PCRE2 10.47 reports the invalid escape in 'A\q' at offset 3 instead of 2.
Update the expected result and add a --replace_regex in the test so the
suite passes with both older and newer PCRE2 versions.

Forwarded: https://jira.mariadb.org/browse/MDEV-38046
(accepted upstream, will be in MariaDB 11.8.6+)

Gbp-Pq: Name MDEV-38046-pcre2-offset.patch
mysql-test/main/func_regexp_pcre.result
mysql-test/main/func_regexp_pcre.test